package com.dmap.analysispoint.rpc;

import com.dmap.analysispoint.rpc.fallback.RpcAppInfoServiceFallback;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * \* User:zhouhao
 * \* Date:06/07/2018
 * \* Description:
 * \*
 */
@FeignClient(value = "pmpd-admin-server", fallback = RpcAppInfoServiceFallback.class)
public interface RpcAppInfoService {

    @RequestMapping(value = "/rpc/background/pmpd-admin-server/v2/app/select/selectAllProjectId",method = RequestMethod.GET)
    List<String> selectAllProjectId();
}
